package org.hi.trip.service.impl;

import java.util.List;

import org.hi.framework.paging.PageInfo;
import org.hi.trip.model.SpecialPrice;
import org.hi.framework.service.impl.ManagerImpl;
import org.hi.trip.service.SpecialPriceManager;

public class SpecialPriceManagerImpl extends ManagerImpl implements SpecialPriceManager{
    
    protected void preSaveObject(Object obj) {
        super.preSaveObject(obj);

    }

    protected void postSaveObject(Object obj) {
        super.postSaveObject(obj);

    }

    protected void preRemoveObject(Object obj) {
        super.preRemoveObject(obj);
        
    }

    protected void postRemoveObject(Object obj) {
        super.postRemoveObject(obj);
        
    }
    
    public void saveSpecialPrice(SpecialPrice specialPrice){
    	saveObject(specialPrice);
    
    }

    public void removeSpecialPriceById(Integer id){
    	removeObjectById(id);
    	
    }

    public SpecialPrice getSpecialPriceById(Integer id){
   		return (SpecialPrice) getObjectById(id);
    }

    public List<SpecialPrice> getSpecialPriceList(PageInfo pageInfo){
    	return super.getList(pageInfo);
    }

    public void saveSecuritySpecialPrice(SpecialPrice specialPrice){
    	saveObject(specialPrice);
    
    }

    public void removeSecuritySpecialPriceById(Integer id){
    	removeObjectById(id);
    	
    }

    public SpecialPrice getSecuritySpecialPriceById(Integer id){
   		return (SpecialPrice) getObjectById(id);
    }

    public List<SpecialPrice> getSecuritySpecialPriceList(PageInfo pageInfo){
    	return super.getList(pageInfo);
    }    
}
